package com.wang.lotterysystem.dao.dataobject.user;

import com.wang.lotterysystem.dao.dataobject.BaseDO;
import com.wang.lotterysystem.dao.dataobject.Encrypt;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class UserDO extends BaseDO {//用户类型

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "手机号")
    private Encrypt phoneNumber; //手机号入库之后会自动加密

    @Schema(description = "密码")
    private String password;

    @Schema(description = "身份")
    private String identity;
}